package com.egu.mapper;

import com.egu.model.EmailInfo;
import com.egu.model.EmailInfoExample;
import com.egu.vo.EmailInfoVo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EmailInfoMapper {
    int countByExample(EmailInfoExample example);

    int deleteByExample(EmailInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EmailInfo record);

    int insertSelective(EmailInfo record);

    List<EmailInfo> selectByExample(EmailInfoExample example);

    EmailInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EmailInfo record, @Param("example") EmailInfoExample example);

    int updateByExample(@Param("record") EmailInfo record, @Param("example") EmailInfoExample example);

    int updateByPrimaryKeySelective(EmailInfo record);

    int updateByPrimaryKey(EmailInfo record);

	List<EmailInfoVo> selectByExampleVo(EmailInfoExample example);

	List<EmailInfoVo> getDateById(Integer id);

	List<EmailInfoVo> selectByEmailInfoVo(EmailInfoVo emailInfoVo);
}